// 建立仓库
//从redux 引入创建仓库和使用中间件的函数
import { createStore, applyMiddleware } from 'redux';
import carousel from '../reducers/carousel';
import reducers from '../reducers';

import thunk from 'redux-thunk';
const store = createStore(reducers, applyMiddleware(thunk));
export default store;
